﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PopularItems.ascx.cs"  Inherits="Pages_WebControls_PopularItems" %>
<%@ OutputCache Duration="3600" VaryByParam="None" %>
<%@ Register Src="Product.ascx" TagName="NewestProducts" TagPrefix="product" %>
<div class="center_title_bar">
Cele mai noi produse
</div>

<asp:Repeater ID="RepeaterItemsList" runat="server">
    <HeaderTemplate>
        <div id="PanelPopularItems" style="padding: 10px;">
    </HeaderTemplate>
    <ItemTemplate>
        <product:NewestProducts ID="Product" runat="server" ProductID='<%#Eval("ProductID") %>'
            ProductName='<%#Eval("ProductName") %>' ImageUrl='<%#Eval("ProductImageUrl") %>'
            Price='<%#Eval("ProductPrice") %>' OldPrice='<%#Eval("ProductOldPrice") %>' />
    </ItemTemplate>
    <FooterTemplate>
        </div>
    </FooterTemplate>
</asp:Repeater>